package com.bwie.service;

import com.bwie.service.impl.IUserServiceImpl;
import com.bwie.util.R;
import com.bwie.vo.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.io.IOException;

/**
 * @program: day0513-monthlx
 * @ClassName IUserService
 * @description:
 * @author: 段阳
 * @create: 2024-05-16 20:34
 **/
@Component("iUserService")
@FeignClient(name = "day0513-monthlx-user",fallback = IUserServiceImpl.class)
public interface IUserService {

    @PostMapping("/user/vCode")
    public R vCode(@RequestBody UserVo userVo) throws IOException;
}